<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page import="com.wing.sys.domain.Code" %>
<%@ include file="/pub/includ.jsp"%>
<%@ include file="/pub/tree_common.jsp"%>
<HTML>
<HEAD>
</HEAD>
<BODY topmargin="0" leftmargin="0">
<table  height="100%" width="100%">
   <tr>
    <td valign="top">
    <div id="treeObject" ></div>
    </td>
   </tr>
</table> 
<script>   
	tree=new dhtmlXTreeObject('treeObject',"100%","100%",0); 
	tree.setOnClickHandler(doOnClick); 
	tree.setImagePath("<%=xtreePath%>"); 
	tree.enableDragAndDrop(false);   
	tree.setXMLAutoLoading("<%=path%>/sys/module/showTree");
	//tree.enableCheckBoxes(1);
	//tree.enableThreeStateCheckboxes(true); 
	//tree.enableRadioButtons(true);
	//tree.setOnDblClickHandler(doOnDblClick);
	//tree.enableHighlighting(true);
	//tree.enableTreeLines(false);
	//tree.setItemTopOffset('-1',0);
	//tree.setOnLoadingEnd(doOnClick);
	tree.loadXML("<%=path%>/sys/module/showTree");
	function doOnClick(nodeId){
		if(nodeId != null){
			parent.rightFrame.location='<%=path%>/sys/select/get/selectMultiModuleRight?moduleId='+nodeId;
		}
	}
	//function doOnDblClick(nodeId){
	//	alert(nodeId);
	//	return false;
	//}
</script> 
</body>
</html>



